package com.vicene.gmail.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vicene.gmail.common.utils.PageUtils;
import com.vicene.gmail.product.entity.SpuInfoEntity;
import com.vicene.gmail.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author vicene
 * @email 505543479@qq.com
 * @date 2020-10-16 11:50:04
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void save(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long id);
}

